package com.kotlin.lib;


public class Utils {
    public static <Input extends Output, Output> void copy(Input[] source, Output[] dest) {
        if (source == null || dest == null || source.length != dest.length) return;
        for (int i = source.length - 1; i >= 0; i--) {
            dest[i] = source[i];
        }
    }
}
